﻿html {
    margin: 0;
    padding: 0;
}

body {   
    color: #333;
    font-size: .85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 10px 0 0 0;
    padding: 0;
    background-color: #e8f0f3;
}

a:link, a:visited,
a:active, a:hover {
    color: #333;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: underline;
}

a:hover {
    background-color: #c7d1d6;
}

header, footer, hgroup,
nav, section {
    display: block;
}

.highlight {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

/* main layout
----------------------------------------------------------*/

footer {
    clear: both;
    font-size: .8em;
    height: 100px;
    margin-left: 20px;
}

/* LOGO */
.logo
{
    margin: 20px 20px 20px 20px;
    font-family: Verdana;
    font-size: 24px;
    font-weight: bold;
    color: #839fa7;
    width: 100%; 
}

#search
{
    clear:both;
    float: left;
}

#productEdit
{
    clear: left;
    float: left;
    width: 30%;
}

#transactionHistory
{
    float: right;
    width: 65%;
}

/* DIV content */
div.content
{
    background-color: white;
    border: 1px solid #B0B0B0;
    border-radius:10px 10px 10px 10px;
    margin: 10px 10px 10px 10px;
}

div.content header 
{     
    padding: 3px 10px 3px 10px;
    height: 30px; 
    width: 100%; 
    position: relative;  
    font-weight: bold;  
    color: #1e1b58;  
}

div.content section
{
    background-color: #ffffff;
    margin: 3px 10px 10px 10px;
}

.loadingdiv
{    
    vertical-align:middle;
    text-align: center;
    width: 100%;
    height: 50px;
    display: block;
}

/* Success */
div.success
{
    border: 1px solid #168609;
    background-color: #dcf8d9;
    height: 20px;
    margin: 0px 0px 5px 0px;
    padding: 2px 2px 2px 2px;
}

/* Error */
div.error
{
    border: 1px solid #db0202;
    background-color: #fbcbcb;
    min-height: 20px;
    margin: 0px 0px 10px 0px;
    padding: 2px 2px 2px 2px;
}

div.error .errorMessage
{
    color: #db0202;
}
/* Grid */

table.datagrid
{
    width:100%;
    border-collapse:collapse;
}

table.datagrid td, table.datagrid th 
{
    border:1px solid #B0B0B0;
    padding:3px 7px 2px 7px;
}

table.datagrid th 
{
    text-align:left;
    padding-top:5px;
    padding-bottom:4px;
    color:#444;
    cursor:pointer;    
    background: url('../images/gradient.png') repeat-x;
}

table.datagrid tr:nth-child(odd) 
{
    background-color: #F2F2F2;
}

table.datagrid tr.loaded
{
    background-color: #fbf994;
}

table.datagrid tr.selected
{
    background-color: #fbfab8;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input[type="text"].input-validation-error,
input[type="password"].input-validation-error {
    border: 1px solid #e80c4d;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

